package demo;

import top.lingkang.finalgateway.utils.CommonUtils;

/**
 * @author lingkang
 * Created by 2024/5/17
 */
public class Demo17_ip {
    public static void main(String[] args) {
        String iplist="10.1.1.1," +
                "10.8.2.*\n" +
                "1.1.8.6";
        System.out.println(CommonUtils.checkIpList(iplist));
        System.out.println(CommonUtils.toIpList(iplist));
    }
}
